package com.gitee.feizns.zxw.domain.backstage.ao.gourmet.accommodation.food.recommend.food;

import com.gitee.feizns.bean.Convertible;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author feizns
 * @since  2019/09/09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UpdateAo implements Convertible {

    /**
     * 标题
     */
    @javax.validation.constraints.NotBlank
    @javax.validation.constraints.Size(max = 255)
    private String title;

    /**
     * 图片
     */
    @javax.validation.constraints.NotBlank
    @javax.validation.constraints.Size(max = 255)
    private String img;

    /**
     * 所属美食编号
     */
    @javax.validation.constraints.NotNull
    private Integer ownFoodId;

    /**
     * 所属美食名称
     */
    @javax.validation.constraints.NotBlank
    @javax.validation.constraints.Size(max = 255)
    private String ownFoodName;

    /**
     * 美食编号
     */
    @javax.validation.constraints.NotNull
    private Integer targetFoodId;

    /**
     * 美食名称
     */
    @javax.validation.constraints.NotBlank
    @javax.validation.constraints.Size(max = 255)
    private String targetFoodName;

    /**
     * 权重
     */
    private Integer weight;

}
